#ifndef __BUTTON_AS_H
#define __BUTTON_AS_H	 

#include "system.h"  

typedef struct {
	void (* Init)(void);
	void (* Scan)(void);
	uint8_t (* Read_key1)(void);
	uint8_t (* Read_key2)(void);
	uint8_t (* Read_key3)(void);
	uint8_t (* Read_key4)(void);
	uint8_t (* Read_key5)(void);
} KEYClassStruct;

extern KEYClassStruct KEYClass;
extern u8 key1LongPressFlag,key5LongPressFlag,key1ShortPressFlag,key5ShortPressFlag,Inverter_key,CombinationKey_Flag;
#endif
